package com.sinux.sshUser.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 显示各弹出框
 * @author WangGan
 * @version 2017年5月17日 上午10:48:06 
 * 
 */
@Controller
public class DialogController {
//	@RequestMapping("/tabdata")
//	public String index(HttpServletRequest request, HttpServletResponse response, Model model) {
//		
//		return "include/tab";
//	}
	
	@RequestMapping("/showudg")
	public String index(HttpServletRequest request,HttpServletResponse response,Model model){
		return "include/dialog";
	}
	@RequestMapping("/showrodg")
	public String roindex(HttpServletRequest request,HttpServletResponse response,Model model){
		return "include/rodg";
	}
	@RequestMapping("/showdedg")
	public String deindex(HttpServletRequest request,HttpServletResponse response,Model model){
		return "include/dedg";
	}
	@RequestMapping("/showredg")
	public String reindex(HttpServletRequest request,HttpServletResponse response,Model model){
		return "include/redg";
	}
	//显示部门里的角色dialog
	@RequestMapping("/show_user_depart_log")
	public String asfsfwef(HttpServletRequest request,HttpServletResponse response,Model model){
		return "include/operdg/oper_datagrid_log";
	}

}
